package command.java8;

public class OpenFile implements Action{

    private final  FileSystemReceiver fileReceiver;

    public OpenFile(FileSystemReceiver fileReceiver) {
        this.fileReceiver = fileReceiver;
    }

    @Override
    public  void perform() {
       fileReceiver.openFile();
    }

}
